package com.caoji.item.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.caoji.dto.PageDTO;
import com.caoji.entity.BrandDTO;
import com.caoji.item.entity.Brand;

import java.util.List;

public interface BrandService extends IService<Brand> {
    List<BrandDTO> findbyids(List<Long> ids);

    List<BrandDTO> findbybanid(Long id);

   BrandDTO findbybanids(Long id);

    PageDTO<BrandDTO> findbypage(String key, Long page, Long rows);

    void savebrand(BrandDTO brandDTO);

    void deletebyid(Long id);

    void updateall(BrandDTO brandDTO);
}